<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小游戏合集</title>
    <link rel="stylesheet" href="styles/main.css">
</head>
<body>
    <header>
        <h1>小游戏合集</h1>
    </header>

    <main>
        <div class="games-container">
            <div class="game-card" onclick="location.href='games/game1.html'">
                <div class="game-icon">🎮</div>
                <h2>猜数字游戏</h2>
                <p>猜一个1-100之间的神秘数字！</p>
            </div>

            <div class="game-card" onclick="location.href='games/game2.html'">
                <div class="game-icon">🎯</div>
                <h2>记忆力测试</h2>
                <p>测试你的记忆能力，看看你能记住多少个图案！</p>
            </div>
        </div>
    </main>

    <footer>
        <p>&copy; 2025 小游戏合集</p>
    </footer>

    <script src="scripts/main.js"></script>
</body>
</html>
